<template>
  <div>
    <el-tabs v-model="activeName">
      <el-tab-pane label="用户管理" name="first" :lazy="MC.isPublish()?true:false">用户管理</el-tab-pane>
      <el-tab-pane label="配置管理" name="second" :lazy="MC.isPublish()?true:false">配置管理</el-tab-pane>
      <el-tab-pane label="角色管理" name="third" :lazy="MC.isPublish()?true:false">角色管理</el-tab-pane>
      <el-tab-pane label="定时任务补偿" name="fourth" :lazy="MC.isPublish()?true:false">定时任务补偿</el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import McElTabs from "./components/McElTabs";
export default {
    data(){
      return {
        activeName:"first",
        MC:{isPublish:function (){return true}}
      }
    },
    mounted(){
    },
    components:{
      McElTabs,
    },
    methods:{
        print(){
            console.log(this.form)
        },
        change(){
            //this.form.userName = false;
            this.href = "http://www.baidu.com";
        }
    }
}
</script>

<style>

</style>
